package com.project.service;

import com.project.bean.MovieBean;
import com.project.bean.OrderBean;
import com.project.bean.UserBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "sellServer", path = "/sell")
public interface IUserService {
    @RequestMapping("/login/{name},{password}")
    public UserBean login(@PathVariable("name") String name, @PathVariable("password") String password);
}
